import type { creatorObj } from "@/interface/pm/globalProjRole.ts";
import type { projectTypeVo } from "@/interface/pm/globalProjectType.ts";

/**
 * pmTemplateVORes
 */
export interface pmTemplateVORes {
  /**
   * 使用本模板的项目id
   */
  childProjectIdList?: string[];
  /**
   * 封面
   */
  cover?: string;
  createTime?: Date;
  creator?: string;
  creatorName?: string;
  /**
   * 创建人对象
   */
  creatorObject?: creatorObj;
  i18nColumnMap?: { [key: string]: { [key: string]: any } };
  id?: string;
  modifier?: string;
  modifierName?: string;
  modifyTime?: Date;
  /**
   * 名称
   */
  name?: { [key: string]: string };
  /**
   * 引用来源项目的id
   */
  projectId?: string;
  /**
   * 项目类型
   */
  projectType?: projectTypeVo;
  /**
   * 描述
   */
  remark?: string;
  /**
   * 软件工具
   */
  software?: string;
  /**
   * 启用状态
   */
  status?: ResultStatus;
  tenantId?: string;
  [property: string]: any;
}

/**
 * 启用状态
 */
export enum ResultStatus {
  Disable = "DISABLE",
  Normal = "NORMAL",
}
